package com.example.SearchAround_JC.jc_manager;

import java.io.Serializable;

/**
 * Created by Administrator on 2014/11/28.
 */
public class PoiDetails implements Serializable {
    String name;
    String tel;
    String address;
    String distance;
    String x;
    String y;
    public PoiDetails(String pname,String ptel,String paddress,String pdistance,String px,String py){
        name=pname;
        tel = ptel;
        address = paddress;
        distance = pdistance;
        x = px;
        y = py;
    }

    public String getName() {
        return name;
    }

    public String getY() {
        return y;
    }

    public String getX() {
        return x;
    }

    public String getDistance() {
        return distance;
    }

    public String getAddress() {
        return address;
    }

    public String getTel() {
        return tel;
    }

    public String toString(){

//        String name;
//        String tel;
//        String address;
//        String distance;
//        String x;
//        String y;
        return name+tel+address+distance+x+y;


    }

}
